The phrase "to match the dress" means to find something that goes well with or complements the dress in terms of color or style.